package com.hyt.it.ogt.kq.service.bm.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @program: it-ogt-kq
 * @description: 非开放性报名对象
 * @author: Yang HuanKun
 * @create: 2023-08-07 14:04
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "非开放性报名对象", description = "非开放性考生信息")
public class NonOpenInfoSaveParam {

    @ApiModelProperty(value = "UUID(32位)")
    private String id;

    @NotBlank(message = "报名项目不能为空")
    @ApiModelProperty(value = "项目id")
    private String projectId;

    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    private String studentName;

    @NotBlank(message = "证件类型不能为空")
    @ApiModelProperty(value = "证件类型")
    private String cardType;

    @NotBlank(message = "证件号码不能为空")
    @ApiModelProperty(value = "证件号码")
    private String cardNumber;

    @NotBlank(message = "所属机构不能为空")
    @ApiModelProperty(value = "所属机构id")
    private String officeId;

    @NotBlank(message = "机构名称不能为空")
    @ApiModelProperty(value = "所属机构")
    private String officeName;

    @ApiModelProperty(value = "科目ID集合 多个用','隔开")
    private String subjectIds;

}
